home *** CD-ROM | disk | FTP | other *** search
- Full Screen Change Directory
- ============================
- Copyright 1986, Design Solutions
- Written By Gene Stempel
-
- Notice : This program may be distributed freely provided that no fee or
- consideration is charged, and the program is not modified. If
- you find this program of any use, any contribution would be
- appreciated, but is NOT required. Suggestions, comments and
- contributions can be sent to :
-
- Gene Stempel
- Design Solutions
- 2231 Provincial House Drive
- Lansing, MI. 48910
-
-
- This program will display a set of subdirectories on the screen.
- The cursor may then be placed on a particular subdirectory, and by
- pressing the RETURN key, will execute a CD to that subdirectory.
- Page Up, Down can be used in the event that the list exceeds more
- than 1 screen. To exit without changing subdirectories, press the
- ESCAPE key.
-
-
- Usages : CDF path [>filename]
-
- The path must include a leading slash (\) (i.e., specified
- from the root directory. The reulting subdirectories will
- be displayed to STDOUT and can optionally be redirected to
- a file (for usage to be explained further.
-
- Examples : CDF \BILLING will load subdirectory
- list under \BILLING
- CDF \ > \TREE will load entire subdirectory
- list and save in \TREE
-
- CDF @filename
-
- The filename identifies a file containing a list of
- subdirectory names. The file may be created using the
- first form shown above, or any text editor (no formatting
- characters please!)
-
- Example : CDF @\TREE will load subdirectory
- list contained in \TREE
-
- CDF @<filename
-
- The filename identifies a file containing a list of
- subdirectory names. It differs from the form above in
- that it is redirected via standard input.
-
- Examples : CDF @<\TREE will load subdirectory
- list contained in \TREE
-
- FIND "DOS" <\TREE | CDF @
- will load subdirectories
- which contain the string
- "DOS".
-
- CDF
-
- The filename identified by the environment variable CDF
- contains the subdirectory list to be used. The environment
- variable CDF can be set via the command
-
- SET CDF=filename
-
- An example would be :
-
- SET CDF=\TREE
- CDF
-
- The subdirectory list would be loaded from \TREE and all
- subsequent calls to CDF will yield the same result, until
- another SET CDF= statement were issued. The SET command
- could be incorporated into the AUTOEXEC.BAT file.
-